{% load future wenlincms_tags wlcore_tags %}

<div class="banner">
    <div class="container">
        <div class="header">
            <div class="logo wow">
                <a href="/"><img src="{{ STATIC_URL }}element/el_web/images/logo-white.png" style="height: 35px"/></a>
            </div>
            <div class="top-menu">
                <span class="menu"></span>
                <ul>
                    <li><a class="scroll" href="#home">首页</a></li>
                    <li><a class="scroll" href="#features">功能组件</a></li>
                    <li><a class="scroll" href="#screenshots">产品预览</a></li>
                    <li><a class="scroll" href="#testimonial">核心团队</a></li>
                    {% nevercache %}
                        {% if request.user.is_authenticated %}
                            <li><a href="/saas/">您好，{{ request.user.username }}</a></li>
                        {% else %}
                            <li><a href="/accounts/signup/">注册试用</a></li>
                            <li><a href="/accounts/login/">登录</a></li>
                        {% endif %}
                    {% endnevercache %}
                </ul>
            </div>
            <div class="clearfix"></div>
            <script>
                $("span.menu").click(function () {
                    $(".top-menu ul").slideToggle("slow", function () {
                    });
                });
            </script>
        </div>
        <div class="banner-text">
            <img src="{{ STATIC_URL }}element/el_web/images/bannertext.png"/>

            <div style="margin-top: 75px">
                {% nevercache %}
                    {% if request.user.is_authenticated %}
                        <a href="/saas/">进入平台</a>
                    {% else %}
                        <a href="/accounts/login/">登录平台</a>
                    {% endif %}
                {% endnevercache %}
            </div>
        </div>
    </div>
</div>
